package edu.zut.cs.software.perfect.admin.service.impl;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.zut.cs.software.perfect.admin.dao.GroupDao;
import edu.zut.cs.software.perfect.admin.domain.Group;
import edu.zut.cs.software.perfect.admin.service.GroupManager;
import edu.zut.cs.software.perfect.base.service.impl.GenericTreeManagerImpl;

/**
 * @ClassName GroupManagerImpl
 * @Description TODO
 * @Author liangying
 * @Date 2020年5月29日 下午10:36:30
 * @Version 1.0
 */
@Service("groupManager")
@Transactional
public class GroupManagerImpl extends GenericTreeManagerImpl<Group, Long> implements GroupManager {

	 GroupDao groupDao;

	 @Autowired
	public void setGroupDao(GroupDao groupDao) {
		this.groupDao = groupDao;
		this.treeDao = this.groupDao;
		this.dao = this.treeDao;
	}
}
